#pragma once


class CFTEdit : public CEdit
{
private:
	UINT m_uFindMsg;
	CFindReplaceDialog * m_dlg;

public:
	CFTEdit();
	void FTFindText();

protected:
	LRESULT OnFindMessage(FINDREPLACE & fr);
	LRESULT WindowProc(UINT message, WPARAM wParam, LPARAM lParam);
	void DoFind(LPCTSTR text, DWORD dwFlags);
	CString GetSelText();
};

